export function confirm(_this, successCallback) {
  _this
    .$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
      confirmButtonText: "确定",
      cancelButtonText: "取消",
      type: "warning",
    })
    .then(() => {
      successCallback && successCallback();
    })
    .catch(() => {
      _this.$message({
        type: "info",
        message: "已取消删除",
      });
    });
}
